using System;
using System.Collections.Generic;
using System.Text;

namespace DLL.Essences
{
    public class City
    {
        int id;
        string name;
        int userID;
        DateTime date;

        public City(int id, string name, int userID, DateTime date)
        {
            this.id = id;
            this.name = name;
            this.userID = userID;
            this.date = date;
        }

        public City()
        {

        }

        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public int UserID
        {
            get
            {
                return userID;
            }
            set
            {
                userID = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }
    }
}
